package com.pccw.ssh.domain;

import com.pccw.ssh.vo.StockVO;

public class Stock {
	
	private String num;
	
	private String name;
	
	private String price;

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}
	public Stock(){
		
	}
	public Stock(StockVO stockVO){
		this.num = stockVO.getNum();
		this.name = stockVO.getName();
		this.price = stockVO.getPrice();
	}
	public Stock(String num,String name,String price){
		this.num = num;
		this.name = name;
		this.price = price;
	}
}
